package com.lxw.oa.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface DataOverviewMapper {

    @Select("${sqlStr}")
    List<Map<String,String>> getTableInfo(@Param("sqlStr") String sqlStr);

    @Select("select sqlStr from sys_sqls where id=#{id}")
    String getTableInfoSql(int id);
}
